<template>
  <div>
    <div style="text-align:right;">
      <router-link to="/maintain">维护界面</router-link>
    </div>
    <MainTableVue style="margin-top:10px" />
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue';
import myAxios from '@/myAxios/myAxios';
import MainTableVue from '@/components/MainTable.vue';

export default {
  name: 'HomeView',
  components: {
    HelloWorld,
    MainTableVue
  },
  setup () {
    let btnClick = function () {
      myAxios.get('林凯获取售后维修工序').then(res => {
        console.log('res :>> ', res);
      });
    };
    return { btnClick };
  }
}
</script>
